<?php

Yii::import('zii.widgets.CPortlet');

class RecentClassifys extends CPortlet
{
	public $title='最新分类';
	
	protected function renderContent()
	{
		$this->render('recentClassifys',
		array('recentClassifys'=>Classify::model()->getAllClass())
		);
	}
}